type internal/singleflight.call
7 uses
internal/singleflight (current package)
singleflight.go#L12: type call struct {
singleflight.go#L31: m map[string]*call // lazily initialized
singleflight.go#L50: g.m = make(map[string]*call)
singleflight.go#L58: c := new(call)
singleflight.go#L73: g.m = make(map[string]*call)
singleflight.go#L81: c := &call{chans: []chan<- Result{ch}}
singleflight.go#L92: func (g *Group) doCall(c *call, key string, fn func() (any, error)) {
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |